$OpenBSD: patch-Makefile_PL,v 1.8 2015/08/31 06:58:45 bluhm Exp $

Devel::CheckLib is never successful for libssl on OpenBSD.  You
must specify -lssl and -lcrypto together, but Devel::CheckLib is
checking them individually.  So the dependency on libssl was missing
if p5-Crypt-SSLeay was compiled when p5-Devel-CheckLib was installed.

Use the libraries we have on OpenBSD and do not use Devel::CheckLib.

--- Makefile.PL.orig	Thu Apr 24 16:50:29 2014
+++ Makefile.PL	Mon Aug 31 00:40:37 2015
@@ -11,7 +11,7 @@ use Try::Tiny;
 use inc::IO::Interactive::Tiny;
 
 caller
-    or run(\@ARGV, [qw{ssl crypto ssl32 ssleay32 eay32 libeay32 z}]);
+    or run(\@ARGV, [qw{ssl crypto z}]);
 
 sub run {
     my $argv = shift;
@@ -75,8 +75,6 @@ sub run {
             exit 0;
         };
     }
-
-    $libs = filter_libs(\%opt, $libs);
 
     unless ($ENV{AUTOMATED_TESTING}) {
         show_do_you_need_crypt_ssleay();
